package com.cross.comparator;

import java.util.Comparator;

public class IntegerComparator<T> implements Comparator<T> {
	@Override
	public int compare(T src, T dest) {
		Integer s = (Integer)src;
		Integer d = (Integer)dest;
		return s-d;
	}
}
